package com.kaoshi.myweb.webstruts.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kaoshi.myweb.webstruts.dao.UserDao;
import com.kaoshi.myweb.webstruts.model.UserModel;

@Service
public class UserService {
	
	@Autowired
	private UserDao userDao;
	
	public void saveUser(UserModel userModel) {
		userDao.save(userModel);
	}
}
